//
//  CRMediaItem.m
//  TestPrj
//
//  Created by 朱铅峰 on 2020/8/5.
//  Copyright © 2020 Xing. All rights reserved.
//

#import "CRMediaItem.h"

@implementation CRMediaItem

+ (CRMediaItem *)item:(NSString *)selector
          normalImage:(UIImage  *)normalImage
        selectedImage:(UIImage  *)selectedImage
                title:(NSString *)title {
    
    CRMediaItem *item = [CRMediaItem new];
    item.selctor = NSSelectorFromString(selector);
    item.normalImage = normalImage;
    item.selectedImage = selectedImage;
    item.title = title;
    
    return item;
}

@end
